package nsoft.swing.sample.beans;

import nsoft.swing.annotation.AComponent;
import nsoft.swing.annotation.APanel;

@APanel(name = "Person", layout = "FlexiGridLayout(width:1,height:1)",layoutProperties={"gridx:0","gridy:8"})
public class Person {

	@AComponent(label = "First Name",layout={"column:0","row:0"})
	private String firstName;

	@AComponent(label = "Last Name",layout={"column:0","row:10"})
	private String lastName;

	@AComponent(label = "Age",layout={"column:0","row:200"})
	int age;

	@AComponent(label = "Door No",layout={"column:0","row:300"})
	private String doorNo;

	@AComponent(label = "Street",layout={"column:0","row:400"})
	private String street;

	@AComponent(label = "City",layout={"column:0","row:500"})
	private String city;

	@AComponent(label = "Country",layout={"column:0","row:600"})
	private String country;

	@AComponent(label = "Pin Code",layout={"column:0","row:700"})
	private String pinCode;

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getDoorNo() {
		return doorNo;
	}

	public void setDoorNo(String doorNo) {
		this.doorNo = doorNo;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getPinCode() {
		return pinCode;
	}

	public void setPinCode(String pinCode) {
		this.pinCode = pinCode;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

}
